namespace WebApplication1
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Worker")]
    public partial class Worker
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Wor_Id { get; set; }

        [Required]
        [StringLength(20)]
        public string Wor_Name { get; set; }

        [StringLength(20)]
        public string Wor_Tel { get; set; }

        [StringLength(20)]
        public string Wor_Email { get; set; }

        [StringLength(100)]
        public string Wor_Addr { get; set; }

        [StringLength(500)]
        public string Wor_Image { get; set; }

        [StringLength(1000)]
        public string Wor_Memo { get; set; }

        public int? Mem_Id { get; set; }

        public virtual Member Member { get; set; }
    }
}
